close since --include works
authorJoey Hess <joeyh@joeyh.name>
Wed, 18 Dec 2024 23:44:25 +0000 (19:44 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 18 Dec 2024 23:44:25 +0000 (19:44 -0400)
doc/todo/get__58___allow_for_both_--branch_and_pathspec.mdwn
doc/todo/get__58___allow_for_both_--branch_and_pathspec/comment_2_e5864c4befa0689b25d95eb17d0315c9._comment [new file with mode: 0644]

index e80cfb14bd4d5dbf7f3653cf1e2390874380eae2..9c0156369a4cf05ff055ca4233f13aa7e2fc35de 100644 (file)
@@ -6,3 +6,5 @@ yoh@typhon:/mnt/DATA/data/yoh/1076_spacetop$ git annex get --branch e6888f70ed97
 git-annex: Can only specify one of file names, --all, --branch, --unused, --failed, --key, or --incomplete
 
 ```
+
+> [[closing|done]] --[[Joey]] 
diff --git a/doc/todo/get__58___allow_for_both_--branch_and_pathspec/comment_2_e5864c4befa0689b25d95eb17d0315c9._comment b/doc/todo/get__58___allow_for_both_--branch_and_pathspec/comment_2_e5864c4befa0689b25d95eb17d0315c9._comment
new file mode 100644 (file)
index 0000000..500e6dc
--- /dev/null
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2024-12-18T23:40:52Z"
+ content="""
+Aha, --include and --exclude options work with --branch. So:
+
+       git annex get --branch e6888f70ed97099f83a77d5bcf3372a9a75a2b5e^ --include=*/*.nii.gz'
+
+No need for git's pagespecs when we have [[git-annex-matching-options]]!
+"""]]